<?php
/**
 * Amazon账号关联的国家（基础）
 * (model)
 */

namespace App\Models\Basics;


use Illuminate\Database\Eloquent\Model;

class AmazonAccountCountry extends Model{

    protected $table = 'b_amazon_account_country';

    public $timestamps = false;

    protected $guarded = [];

    public function account()
    {
        return $this->belongsTo(AmazonAccount::class,'account_id');
    }

    public function country()
    {
        return $this->belongsTo(SysCountry::class,'country_id');
    }
}
